body,html{
    background-color: #f6f6f8;
}
@keyframes rolate{
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(10deg) translateY(2px);
    }
    50%{
        transform: rotate(0deg) translateY(3px);
    }
    75%{
        transform: rotate(-10deg) translateY(5px);
    }
    100%{
        transform: rotate(0deg) translateY(0px);
    }
}
@color: #016bd5;
#pages{
    max-width: 768px;
    height: 100%;
    margin: 0 auto;
    .loading{
        position: fixed;
        top: 200px;
        width: 100%;
        img{
            display: block;
            margin: 10px auto;
            width: 10%;
            animation: rolate 1s linear infinite;
        }
        .load_t{
            text-align: center;
            color: #ccc;
            font-size: 12px;
        }
    }
    header{
        width: 90%;
        margin: 20px auto 0;
        display: flex;
        justify-content: space-between;
        .search{
            width: 80%;
            height: 30px;
            background-color: #fff;
            border-radius: 20px;
            padding: 0 10px;
            line-height: 30px;
            font-size: 12px;
            display: flex;
            .search_icon{
                svg{
                    color: @color;
                }
            }
            input{
                outline: none;
                height: 100%;
                border: none;
                margin-left: 15px;
            }
        }
        .login{
            width: 10%;
            font-size: 12px;
            color: @color;
            cursor: pointer;
            .account{
                svg{
                    width: 16px;
                    height: 16px;
                    margin-left: 4px;
                }
            }
        }
    }
    article{
        padding: 0 15px;
        margin: 15px auto;
        ul{
            width: 100%;
            list-style: none;
            padding: 0;
            li{
                width: 100%;
                margin: 10px 0;
                background-color: #fff;
                border-radius: 10px;
                a{
                    width: 100%;
                    display: flex;
                    text-decoration: none;
                    .left{
                        width: 40%;
                        position: relative;
                        .flag{
                            position: absolute;
                            top: 0;
                            left: 0;
                            font-size: 12px;
                            color: #fff;
                            background-color: #016bd5;
                            padding: 2px 4px;
                            border-bottom-right-radius: 10px;
                        }
                        img{
                            width: 100%;
                            border-radius: 50%;
                        }
                    }
                    .right{
                        width: 60%;
                        margin-left: 10px;
                        padding: 2px;
                        .title{
                            font-size: 16px;
                            font-weight: bold;
                            color: #000;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            text-overflow: -o-ellipsis-lastline;
                            display: -webkit-box;
                            line-clamp: 2;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                        }
                        .desc{
                           color: #666974; 
                           font-size: 12px;
                           padding: 5px 0;
                        }
                        .price{
                            color: #ff971c;
                            font-size: 12px;
                        }
                    }
                }
            }
        }
    }
}
